package com.simple.microservices.web.auth.dto;

import com.simple.microservices.commons.annotation.Username;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 注册
 * @author HYF
 */
@Data
public class RegisterDTO {
    /**
     * 用户名
     */
    @NotEmpty(message = "用户名不能为空")
    @Username(message = "用户名错误" )
    private String cellphone;

    /**
     * 密码
     */
//    @NotEmpty(message = GlobalizationLanguageConstant.PASSWORD_NOT_BLANK )
    private String password;


    /**
     * 身份
     */
    @NotEmpty(message = "身份类型不能为空")
    private String identityType;



    /**
     * 姓名
     */
//    @NotEmpty(message = GlobalizationLanguageConstant.IDENTITY_NOT_BLANK )
    private String name;

    private String registerType;
    private String companyName;
    private String brandName;
    private String accountName;
    private String equipmentType;
    private String verificationCode;
    private String gender;

    /**
     * 销售模式
     */
    private List<String> saleModeList ;

    /**
     * 主营品类
     */
    private List<String> productList ;
    /**
     * 制版类型
     */
    private String plate ;
    /**
     * 工厂人数
     */
    private String personNumbers ;
}
